package com.hibernate.model;

import java.sql.Timestamp;

/**
 * AbstractUsernews entity provides the base persistence definition of the
 * Usernews entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractUsernews implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userid;
	private String title;
	private String content;
	private Timestamp time;
	private String rdState;

	// Constructors

	/** default constructor */
	public AbstractUsernews() {
	}

	/** full constructor */
	public AbstractUsernews(String userid, String title, String content,
			Timestamp time, String rdState) {
		this.userid = userid;
		this.title = title;
		this.content = content;
		this.time = time;
		this.rdState = rdState;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Timestamp getTime() {
		return this.time;
	}

	public void setTime(Timestamp time) {
		this.time = time;
	}

	public String getRdState() {
		return this.rdState;
	}

	public void setRdState(String rdState) {
		this.rdState = rdState;
	}

}